/*
 * Copyright 2015 the SiChuan MiaoQu Technology Co., Ltd.
 *
 * 四川妙趣科技有限公司    http://www.letoo.com
 *
 * Create Date : 2015年12月9日
 */

package com.letoo.sso.dataaccess.domain.dbo;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 存储app客户端需要的图片空间域地址、各业务子系统接口域名。配置信息实体对象
 */
public class AppBaseConfigDO extends BaseDO {

    /**
     * 序列化
     */
    private static final long serialVersionUID = 8178611412938145043L;

    private int appId;

    private String type;

    private String typeName;

    private String configKey;

    private String keyName;

    private String configValue;

    private boolean isActive;

    @JSONField(serialize = false)
    public int getAppId() {
        return appId;
    }

    public void setAppId(int appId) {
        this.appId = appId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getConfigKey() {
        return configKey;
    }

    public void setConfigkey(String configKey) {
        this.configKey = configKey;
    }

    public String getKeyName() {
        return keyName;
    }

    public void setKeyName(String keyName) {
        this.keyName = keyName;
    }

    public String getConfigValue() {
        return configValue;
    }

    public void setConfigValue(String configValue) {
        this.configValue = configValue;
    }

    @JSONField(serialize = false)
    public boolean isActive() {
        return isActive;
    }

    public void setActive(boolean isActive) {
        this.isActive = isActive;
    }

    @Override
    public String toString() {
        return "AppBaseConfigDO [appId=" + appId + ", type=" + type + ", typeName=" + typeName + ", configKey=" + configKey + ", keyName=" + keyName + ", configValue="
                + configValue + ", isActive=" + isActive + "]";
    }

}
